home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 1 / CU Amiga Magazine CD-ROM Special Edition (1995)(EMAP Images)(GB)[Issue 1995-11].iso / Aminet / comm / tcp / AmiTCPsdk_40.lha / AmiTCP-4.0 / src / netlib / dummy.c < prev    next >
C/C++ Source or Header  |  1994-09-29  |  539b  |  22 lines

  1. RCS_ID_C="$Id: dummy.c,v 4.1 1994/09/29 23:09:02 jraja Exp $";
  2. /*
  3.  *      dummy.c - unimplemented netdb functions 
  4.  *
  5.  *      Copyright © 1994 AmiTCP/IP Group, 
  6.  *                       Network Solutions Development Inc.
  7.  *                       All rights reserved.
  8.  */
  9.  
  10. #include <netdb.h>
  11. #if !__SASC
  12. #define NULL ((void *) 0)
  13. #endif
  14. struct hostent  *gethostent(void)
  15. { return NULL; }
  16. struct netent  *getnetent(void)
  17. { return NULL; }
  18. struct servent  *getservent(void)
  19. { return NULL; }
  20. struct protoent *getprotoent(void)
  21. { return NULL; }
  22.